'use strict'
// 加载依赖
const router = require('koa-router')()
const userController = require('controllers/user/user')
const config = require('@config/config')
router

/**
 * @description: 用户登录
 */
  .post(`${config.api}/user/login`, userController.login)

module.exports = router
